Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 7 - View-Related Objects / View-Related Objects Reference
Constants and Data Types


View Group Types

QuickDraw GX provides two predefined view group references for you, defined by the following constants:

   #define gxAllViewDevices            ((gxViewGroup) 0)
   #define gxScreenViewDevices         ((gxViewGroup) 1)
Constant descriptions

gxAllViewDevices
Not an actual reference, this constant represents all view groups, both offscreen and onscreen. You can use this constant when you want to use the GXGetViewGroupViewPorts function or the GXGetViewGroupViewDevices function to determine all the view ports or all the view devices for all view groups. You cannot use this constant to set a view port or view device.
gxScreenViewDevices
A reference to the view group that includes view device objects
for all physical display devices. Only by drawing to view ports in this view group can you perform onscreen drawing. This is the one view group that QuickDraw GX provides for you.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996